From: Jan Djärv Date: Sat, 14 Mar 2009 15:18:44 +0000 (+0000) Subject: (alsa_configure): Remove call do deprecated X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~1263 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=c73e6fc3b26b99d271a6e3b55d59015c0e4b9737;p=emacs.git (alsa_configure): Remove call do deprecated _pcm_sw_params_set_xfer_align. --- diff --git a/src/sound.c b/src/sound.c index 2c723a4f99a..58a8a9c4653 100644 --- a/src/sound.c +++ b/src/sound.c @@ -1066,12 +1066,6 @@ alsa_configure (sd) if (err < 0) alsa_sound_perror ("Unable to set avail min for playback", err); - /* Align all transfers to 1 period */ - err = snd_pcm_sw_params_set_xfer_align (p->handle, p->swparams, - p->period_size); - if (err < 0) - alsa_sound_perror ("Unable to set transfer align for playback", err); - err = snd_pcm_sw_params (p->handle, p->swparams); if (err < 0) alsa_sound_perror ("Unable to set sw params for playback\n", err);